<?php
/**
 * Class 首页.
 * User: chan
 * Date: 2017/10/20 11:22
 */

namespace app\api\controller;
class Banner extends Base
{

	//检查权限作用域
    protected $beforeActionList = [
        'checkPrimaryScope' 
    ];

	/**
	*轮播图
	*/
	public function bannerList(){

        $banner =(new \app\api\logic\Banner())->bannerList();

        return $this->ajaxReturn($banner);
        
	}

}